package com.ravi.mapper;

import com.ravi.model.entity.RoomType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomTypeMapper {

	List<RoomType> getAll();

	List<RoomType> getRoomTypesByName(@Param("name") String name);

	// 按照参与导检的检查顺序返回
	List<RoomType> getRoomTypesBySerialNumber();

	RoomType getRoomTypeById(@Param("id") Integer id);
}
